<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
		<title>Submit Master Thesis Proposal</title>
	</head>
<%
	String authorized = (String) session.getAttribute("authorized");
	String groupID = (String) session.getAttribute("groupid");
	if (authorized == null || !authorized.equals("yes")  || 
		groupID == null || !groupID.equals("students")) 
	{
%>
		<jsp:forward page="login.jsp">
			<jsp:param name="authorizedPage" value="submitProposal.jsp" />	
			<jsp:param name="desiredGroupID" value="students" />	
		</jsp:forward>
<%
	}
%>
<body>
<form action="processProposal.jsp" method="post">
<center>
<table cellpadding="1" cellspacing="2" border="0">
<tr>
<th bgcolor="#CCCCFF" colspan="2">
<font size="5">MASTER THESIS PROPOSAL</font>
<br/>
</th>
</tr>
<tr bgcolor="#c8d8f8">
<td align="left" colspan="2" > 
<b>Thesis Title</b> 
<br/>
<textarea name="title" rows="4" cols="60">Enter your proposed thesis title here</textarea></td>
</tr>
<tr bgcolor="#c8d8f8">
<td align="left" colspan="2" > 
<b>Annotation</b> 
<br/>
<textarea name="annotation" rows="3" cols="60"></textarea></td>
</tr>
<tr bgcolor="#c8d8f8">
<td align="left" colspan="2" > 
<b>Description</b> 
<br/>
<textarea name="description" rows="9" cols="60"></textarea></td>
</tr>
<tr bgcolor="#c8d8f8">
<td align="left" colspan="2" > 
<b>Programming Technologies</b> 
<br/>
<textarea name="programmingTechnologies" rows="2" cols="60"></textarea></td>
</tr>
<tr bgcolor="#c8d8f8">
<td align="left">
<b>Consultant name</b> 
<br/>
<input type="text" name="consultantName" value="" size="25"  maxlength="125"/>
<br/></td>
<td  align="left">
<b>Execution time</b> 
<br/>
<input type="text" name="executionTime" value="" size="5"  maxlength="2"/></td>
</tr>
<tr bgcolor="#c8d8f8">
<td align="left">
<b>Student ID</b> 
<br/>
<input type="text" name="student" size="10" value=""  
maxlength="10"/></td>
<td  align="left">
<b>Supervisor ID</b>
<br/>
<input type="text" name="supervisor" size="10" value=""  
maxlength="10"/></td>
</tr>
<tr bgcolor="#c8d8f8">
<td  align="center" colspan="2">
<input type="submit" value="Submit"/> <input type="reset"  
value="Reset"/>
</td>
</tr>
</table>
</center>
</form>
</body>
</html>